<template>
  <div class="home">
    <router-view></router-view>
    <!-- 底部导航条 -->
    <tabbar class="tb-menus">
      <tabbar-item link="/home/goods" selected>
        <i class="fa fa-home" slot="icon"></i>
        <span slot="label">商品列表</span>
      </tabbar-item>
      <tabbar-item link="/home/order">
        <i class="fa fa-user" slot="icon"></i>
        <span slot="label">个人中心</span>
      </tabbar-item>
    </tabbar>
  </div>
</template>
<script>
import {Tabbar,TabbarItem} from 'vux'
export default {
  components:{
    Tabbar,TabbarItem
  }
}
</script>
<style>
  .weui-tabbar{
    position: fixed !important;
  }
</style>
